package com.formiaomiao.demain.dao;

import com.formiaomiao.demain.model.FollowBean;
import com.formiaomiao.demain.model.UserBean;

import java.util.List;

public interface FollowDao {
    //关注
    int InsertFollow(FollowBean followBean);

    //取消关注
    int DeleteFollow(FollowBean followBean);

    //查询关注列表
    List<FollowBean> SelectFollow(Integer followfrom);

    //查询关注的人
    List<UserBean> SelectUserFollow(Integer followfrom);

    //查询粉丝
    List<UserBean> SelectFansFollow(Integer followto);

    //查询是否关注
    FollowBean CheckFollow(FollowBean followBean);
}
